package com.css.fxfzfxqh.modules.ysx.param;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: zhangSongRui
 * @CreateTime: 2023/08/22
 * @Description: 易损性正式表
 */
@Data
public class FxqhJzwYSXParam implements Serializable, IExcelDataModel, IExcelModel {

    //主键
    private String id;
    //省id
    @Excel(name = "省份", fixedIndex = 0)
    private String province;
    //市id
    @Excel(name = "市")
    private String city;
    //县id
    @Excel(name = "区/县级")
    private String county;
    //结构类型
    @Excel(name = "一级", groupName = "*结构类型", fixedIndex = 3)
    private String structureType1;
    @Excel(name = "二级", fixedIndex = 4)
    private String structureType2;
    //设防情况
    @Excel(name = "*设防情况")
    private String fortify;
    //年代
    @Excel(name = "*年代")
    private String year;
    //房屋用途
    @Excel(name = "一级",groupName = "*用途")
    private String housingUse1;
    @Excel(name = "二级")
    private String housingUse2;
    //层数
    @Excel(name = "*层数")
    private String numberOfFloors;
    //烈度
    @Excel(name = "烈度")
    private String damageDegree;
    @Excel(name = "基本完好")
    private String intensity1;//基本完好
    @Excel(name = "轻微破坏sl")
    private String intensity2;//轻微破坏sl
    @Excel(name = "中等破坏ml")
    private String intensity3;//中等破坏ml
    @Excel(name = "严重破坏el")
    private String intensity4;//严重破坏el
    @Excel(name = "倒塌c")
    private String intensity5;//倒塌c
    private String ysxType; //0:国家级 1:完全版 2:群体版 3：自定义生成';
    private String createUser;
    private String createName;
    private String userName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private Integer rowNum;
    private String errorMsg;
    private String startTime;
    private String dataType;
    private String endTime;
    private String roleType;//角色  0:国家级 1:省级 2:市级 :3:区级
}
